package com.blb.common.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 课程方向
 */
@Data
@TableName("course_orientation")
public class CourseOrientation implements Serializable {

  @TableId(type = IdType.AUTO)
  private long id;
  private String orientationName;
  private long parentId;

  //上级方向
  @TableField(exist = false)
  private CourseOrientation parent;
}
